<?php

namespace Acme\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Acme\MainBundle\Entity\Otazka
 *
 * @ORM\Table()
 * @ORM\Entity
 */
class Otazka
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;
    
    /**
     * @ORM\ManyToOne(targetEntity="Kolo")
     * 
     * @var Kolo $kolo 
     */
    private $kolo;
    
    /**
     * @ORM\ManyToOne(targetEntity="NavrhOtazky")
     * 
     * @var NavrhOtazky $navrhOtazky 
     */
    private $navrhOtazky;
    
    /**
     * @ORM\ManyToOne(targetEntity="Kategoria")
     * 
     * @var Kategoria $kategoria; 
     */
    private $kategoria;

    /**
     * @var string $spravnaOdpoved
     *
     * @ORM\Column(name="spravnaOdpoved", type="string", length=30)
     */
    private $spravnaOdpoved;

    /**
     * @var integer $poradie
     *
     * @ORM\Column(name="poradie", type="integer")
     */
    private $poradie;

    /**
     * @var string $text
     *
     * @ORM\Column(name="text", type="string", length=200)
     */
    private $text;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set spravnaOdpoved
     *
     * @param string $spravnaOdpoved
     */
    public function setSpravnaOdpoved($spravnaOdpoved)
    {
        $this->spravnaOdpoved = $spravnaOdpoved;
    }

    /**
     * Get spravnaOdpoved
     *
     * @return string 
     */
    public function getSpravnaOdpoved()
    {
        return $this->spravnaOdpoved;
    }

    /**
     * Set poradie
     *
     * @param integer $poradie
     */
    public function setPoradie($poradie)
    {
        $this->poradie = $poradie;
    }

    /**
     * Get poradie
     *
     * @return integer 
     */
    public function getPoradie()
    {
        return $this->poradie;
    }

    /**
     * Set text
     *
     * @param string $text
     */
    public function setText($text)
    {
        $this->text = $text;
    }

    /**
     * Get text
     *
     * @return string 
     */
    public function getText()
    {
        return $this->text;
    }

    /**
     * Set kolo
     *
     * @param Acme\MainBundle\Entity\Kolo $kolo
     */
    public function setKolo(\Acme\MainBundle\Entity\Kolo $kolo)
    {
        $this->kolo = $kolo;
    }

    /**
     * Get kolo
     *
     * @return Acme\MainBundle\Entity\Kolo 
     */
    public function getKolo()
    {
        return $this->kolo;
    }

    /**
     * Set navrhOtazky
     *
     * @param Acme\MainBundle\Entity\NavrhOtazky $navrhOtazky
     */
    public function setNavrhOtazky(\Acme\MainBundle\Entity\NavrhOtazky $navrhOtazky)
    {
        $this->navrhOtazky = $navrhOtazky;
    }

    /**
     * Get navrhOtazky
     *
     * @return Acme\MainBundle\Entity\NavrhOtazky 
     */
    public function getNavrhOtazky()
    {
        return $this->navrhOtazky;
    }

    /**
     * Set kategoria
     *
     * @param Acme\MainBundle\Entity\Kategoria $kategoria
     */
    public function setKategoria(\Acme\MainBundle\Entity\Kategoria $kategoria)
    {
        $this->kategoria = $kategoria;
    }

    /**
     * Get kategoria
     *
     * @return Acme\MainBundle\Entity\Kategoria 
     */
    public function getKategoria()
    {
        return $this->kategoria;
    }
}